/**
 * @ Author 何涛
 * @ Date 2016/02/19 12:06:51
 */
//wn新增常量
gpNamespace.DEFAULTFONT = "Arial";
gpNamespace.LCDFont = "LcdD"
gpNamespace.PhysicalExchangeInfo = null;
gpNamespace.PropExchangeInfo = null;
gpNamespace.GoldExchangeInfo = null;
gpNamespace.QuickChargeInfo = null;//
gpNamespace.CurrentDhqLevel = 1;//当前兑换券赛的等级
gpNamespace.DhqIsOver = false;//用于标记兑换券赛是否结束，显示结算菜单按钮，默认false，哪怕是经典场，不碍事，没毛病！！！
gpNamespace.IsInJs = false;//是否在结算界面
gpNamespace.needLeaveRoom = false;//是否需要离开房间
gpNamespace.playerLeaved = false;//标记当前用户是否离开
//常量
gpNamespace.EFFECTSOUND = "effectSound";
gpNamespace.MUSICSOUND = "musicSound";
gpNamespace.ROBOTHEADIMGID = "robotHeadImgID";

gpNamespace.TVMENU = "tvMenu";//tableViewPro中单元格是按钮时候设置
gpNamespace.WAIT = "wait";//等待界面

gpNamespace.MAIL_YELLOW_BACKGROUND = "mailYellowBackground";
gpNamespace.MAIL_YELLOW_FLAG = "mailYellowFlag";
gpNamespace.MAIL_WHITE_FLAG = "mailWhiteFlag";
gpNamespace.MAIL_WHITEOPEN_FLAG = "mailWhiteOpenFlag";
gpNamespace.MAIL_GANTAN_FLAG = "mailGantan";
gpNamespace.MainSceneName = "mainScene";

gpNamespace.QQLIBAO_OFF = "QQLibaoOFF";
gpNamespace.QQLIBAO_ON = "QQLibaoON";
gpNamespace.QQLIBAO_GRAY = "QQLibaoGRAY";

gpNamespace.NEWARMATURE = "newArmature";
gpNamespace.EGGARMATURE = "eggArmature";

gpNamespace.PrepareLayer = "gamePrepareLayer";

gpNamespace.SoundSex = "soundSex";
gpNamespace.TySocialData = gpNamespace.TySocialData || [];

//1 自己2 公聊  3系统
gpNamespace.pdkcharType = gpNamespace.pdkcharType||[];

gpNamespace.systemMessageLength = 0;
//用户信息
var userInfo;
var userMailInfo;
var rankInfo;
var historyTalkInfo;
var lastThreeNews;
var signInfo;//onMySign返回的sign信息
var LocalsoundSex = 1;//声音性别：1：男，2：女。
var currentNetManager;
var cddBottomLayer = null;//用于邮件标记设置

gpNamespace.ruchangFrom = null;
if (typeof gpNamespace.RuchangFrom == "undefined") {
	gpNamespace.RuchangFrom = {};
	gpNamespace.RuchangFrom.Plaza = 0;
    gpNamespace.RuchangFrom.Cdd = 4;
}

if (typeof gpNamespace.SceneName == "undefined") {
	gpNamespace.SceneName = {};
	gpNamespace.SceneName.Plaza = 0;
	gpNamespace.SceneName.Game = 1;
	gpNamespace.SceneName.Shop = 2;
}

//大厅全局变量-------------------------------------------------
gpNamespace.myPropFrom = null;
if (typeof gpNamespace.MyPropFrom == "undefined") {
	gpNamespace.MyPropFrom = {};
	gpNamespace.MyPropFrom.UserInfo = 0;
	gpNamespace.MyPropFrom.Game = 1;
}

gpNamespace.usePropFrom = null;
if (typeof gpNamespace.UsePropFrom == "undefined") {
	gpNamespace.UsePropFrom = {};
	gpNamespace.UsePropFrom.Plaza = 0;
	gpNamespace.UsePropFrom.Game = 1;
}

gpNamespace.goldExchangeFrom = null;
if (typeof gpNamespace.GoldExchangeFrom == "undefined") {
	gpNamespace.GoldExchangeFrom = {};
	gpNamespace.GoldExchangeFrom.Egg = 0;
	gpNamespace.GoldExchangeFrom.Shop = 1;
}

gpNamespace.quickChargeFrom = null;
if (typeof gpNamespace.QuickChargeFrom == "undefined") {
	gpNamespace.QuickChargeFrom = {};
	gpNamespace.QuickChargeFrom.Egg = 0;
	gpNamespace.QuickChargeFrom.Shop = 1;
}

gpNamespace.freeEggFrom = null;
if (typeof gpNamespace.FreeEggFrom == "undefined") {
	gpNamespace.FreeEggFrom = {};
	gpNamespace.FreeEggFrom.Plaza = 0;
	gpNamespace.FreeEggFrom.Shop = 1;
}

gpNamespace.goodInfoFrom = null;
if (typeof gpNamespace.GoodInfoFrom == "undefined") {
	gpNamespace.GoodInfoFrom = {};
	gpNamespace.GoodInfoFrom.Jump = 0;
	gpNamespace.GoodInfoFrom.Buy = 1;
}

gpNamespace.buyGoldFrom = null;
if (typeof gpNamespace.BuyGoldFrom == "undefined") {
	gpNamespace.BuyGoldFrom = {};
	gpNamespace.BuyGoldFrom.Exchagne = 0;
	gpNamespace.BuyGoldFrom.Money = 1;
}

gpNamespace.useConnectStatus = null;
if (typeof gpNamespace.UseConnectStatus == "undefined") {
	gpNamespace.UseConnectStatus = {};
	gpNamespace.UseConnectStatus.Error = 0;
	gpNamespace.UseConnectStatus.Close = 1;
	gpNamespace.UseConnectStatus.Kick = 2;
	gpNamespace.UseConnectStatus.Block = 3;
	gpNamespace.UseConnectStatus.OtherLog = 4;
}

gpNamespace.rankInfoFrom = null;
if (typeof gpNamespace.RankInfoFrom == "undefined") {
	gpNamespace.RankInfoFrom = {};
	gpNamespace.RankInfoFrom.Plaza = 0;
	gpNamespace.RankInfoFrom.Qszb = 1;
}

//大厅全局变量-------------------------------------------------


//游戏全局变量-------------------------------------------------

gpNamespace.EMPTYHEAD = "emptyHead";
gpNamespace.EMPTYLABELDARK = "emptyLabelDark";
gpNamespace.EMPTYLABELLIGHT = "emptyLabelLight";

if (typeof gpNamespace.GameType == "undefined") {
	gpNamespace.GameType = {};
	gpNamespace.GameType.Normal = 0;
	gpNamespace.GameType.Qszb = 1;
	gpNamespace.GameType.Voucher = 2;
	gpNamespace.GameType.Bx = 3;
}

if (typeof gpNamespace.GameScoreType == "undefined") {
	gpNamespace.GameScoreType = {};
	gpNamespace.GameScoreType.Gold = 0;
	gpNamespace.GameScoreType.Coin = 1;
}

//TODO 待优化游戏中变量----------------------------------------------------------------

gpNamespace.chuDelay = 2;
gpNamespace.isChangeThree = false;
gpNamespace.pickThreeEnd = false;
gpNamespace.outTime = 0;  //出牌次数
gpNamespace.timeInit = 10; //倒计时
gpNamespace.biXia = 0; //必下
gpNamespace.difen = 10; //底分
gpNamespace.roomLimitScore = 0; //入场限制
gpNamespace.roomType = 0;//房间类别
gpNamespace.subRoom = 0;//
gpNamespace.dDzTimeInit = 20; //斗地主倒计时
gpNamespace.chouShui = 0;
gpNamespace.currentCount = 0;//当前房间人数

gpNamespace.remainedTileCount = 55;

gpNamespace.GamePrepareLayerName = "gamePrepareLayer";

//全局变量-----------------------------------------
gpNamespace.gameInited = false;

//-------------------------------------------------

if (typeof gpNamespace.OrderIndex == "undefined") {
	gpNamespace.OrderIndex = {};
	gpNamespace.OrderIndex.ZiJi = 0;
	gpNamespace.OrderIndex.Xia = 1;
	gpNamespace.OrderIndex.Dui = 2;
	gpNamespace.OrderIndex.Shang = 3;
}

if (typeof gpNamespace.TileType == "undefined") {
	gpNamespace.TileType = {};
	gpNamespace.TileType.Wan = 0;
	gpNamespace.TileType.Tong = 1;
	gpNamespace.TileType.Tiao = 2;
	gpNamespace.TileType.Hua = 3;
	gpNamespace.TileType.HeiTao = 4;
	gpNamespace.TileType.HongTao = 5;
	gpNamespace.TileType.MeiHua = 6;
	gpNamespace.TileType.FangKuai = 7;
	gpNamespace.TileType.Wang = 8;
}

gpNamespace.tileTypes = ["w", "b", "t", "h", "hx", "ht", "mh", "fk", "joker"];

if (typeof gpNamespace.ComponentType == "undefined") {
	tyNamespace.ComponentType = {};
	tyNamespace.ComponentType.Gang = 0;
	tyNamespace.ComponentType.SanYi = 1;
	tyNamespace.ComponentType.SanEr = 13;
	tyNamespace.ComponentType.SiEr = 3;
	tyNamespace.ComponentType.ErShun = 4;
	tyNamespace.ComponentType.SanShun = 5;
	tyNamespace.ComponentType.Dan = 6;
	tyNamespace.ComponentType.GaoPai = 7;
	tyNamespace.ComponentType.Dui = 8;
	tyNamespace.ComponentType.LiangDui = 9;
	//三条
	tyNamespace.ComponentType.Bao = 10;
	tyNamespace.ComponentType.Shun = 11;
	tyNamespace.ComponentType.TongHua = 12;
//	tyNamespace.ComponentType.HuLu = 13;
	tyNamespace.ComponentType.zhadan = 14;
	tyNamespace.ComponentType.SiYi = 15;
	tyNamespace.ComponentType.TongHuaShui = 16;
	tyNamespace.ComponentType.HuangJia = 17;
}

if (typeof gpNamespace.PositionOnTable == "undefined") {
	gpNamespace.PositionOnTable = {};
	gpNamespace.PositionOnTable.Dong = 0;
	gpNamespace.PositionOnTable.Nan = 1;
	gpNamespace.PositionOnTable.Xi = 2;
	gpNamespace.PositionOnTable.Bai = 3;
}

if (typeof gpNamespace.PlayerStatus == "undefined") {
	gpNamespace.PlayerStatus = {};
	gpNamespace.PlayerStatus.Find = 0;
	gpNamespace.PlayerStatus.OnTable = 1;
	gpNamespace.PlayerStatus.Playing = 2;
	gpNamespace.PlayerStatus.AutoPlay = 3;
	gpNamespace.PlayerStatus.GetHold = 4;
	gpNamespace.PlayerStatus.ChuHold = 5;
	gpNamespace.PlayerStatus.Pass = 6;
	gpNamespace.PlayerStatus.Wait = 7;
}
if (typeof gpNamespace.PlayStatus == "undefined") {
	gpNamespace.PlayStatus = {};
	gpNamespace.PlayStatus.Over = 0;
	gpNamespace.PlayStatus.Hold = 1;
	gpNamespace.PlayStatus.HoldEnd = 2;
	gpNamespace.PlayStatus.Playing = 3;
}
if (typeof gpNamespace.TileStatus == "undefined") {
	gpNamespace.TileStatus = {};
	gpNamespace.TileStatus.Li = 0;
	gpNamespace.TileStatus.Hu = 1;
	gpNamespace.TileStatus.Gang = 2;
	gpNamespace.TileStatus.AnGang = 3;
	gpNamespace.TileStatus.Peng = 4;
	gpNamespace.TileStatus.Chi = 5;
	gpNamespace.TileStatus.Zhua = 6;
	gpNamespace.TileStatus.Da = 7;
	gpNamespace.TileStatus.Chu = 8;
}

if (typeof gpNamespace.ActionMask == "undefined") {
	gpNamespace.ActionMask = {};
	gpNamespace.ActionMask.WIK_NULL = 0x00;//没有类型
	gpNamespace.ActionMask.WIK_LEFT = 0x01;//左吃类型
	gpNamespace.ActionMask.WIK_CENTER = 0x02;//中吃类型
	gpNamespace.ActionMask.WIK_RIGHT = 0x04;//右吃类型
	gpNamespace.ActionMask.WIK_PENG = 0x08;//碰牌类型
	gpNamespace.ActionMask.WIK_GANG = 0x10;//杠牌类型
	gpNamespace.ActionMask.WIK_HUA = 0x15;//花牌类型
	gpNamespace.ActionMask.WIK_GANG_PENG = 0x18;//杠牌类型
	gpNamespace.ActionMask.WIK_LISTEN = 0x20;//听牌类型
	gpNamespace.ActionMask.WIK_CHI_HU = 0x40;//吃胡类型
	gpNamespace.ActionMask.WIK_ZI_MO = 0x80;//自摸类型
}

if (typeof gpNamespace.GangType == "undefined") {
	gpNamespace.GangType = {};
	gpNamespace.GangType.GANG_NULL = 0x00;//无杠
	gpNamespace.GangType.GANG_SONG = 0x01;//送杠
	gpNamespace.GangType.GANG_BU = 0x02;//补杠
	gpNamespace.GangType.GANG_AN = 0x04;//暗杠
}

if (typeof gpNamespace.HuPaiKind == "undefined") {
	gpNamespace.HuPaiKind = {};
	gpNamespace.HuPaiKind.CHK_ZHUANG = 0;            //庄家
	gpNamespace.HuPaiKind.CHK_MEN_QING = 1;          //门清
	gpNamespace.HuPaiKind.CHK_TING = 2;              //报听
	gpNamespace.HuPaiKind.CHK_ZI_MO = 3;             //自摸
	gpNamespace.HuPaiKind.CHK_QUAN_QIU = 4;          //全求
	gpNamespace.HuPaiKind.CHK_PENG_PENG = 5;         //碰碰胡
	gpNamespace.HuPaiKind.CHK_QI_DUI = 6;            //七对
	gpNamespace.HuPaiKind.CHK_DAI_YAO_JIU = 7;       //带幺九
	gpNamespace.HuPaiKind.CHK_QING_YI_SE = 8;        //清一色
	gpNamespace.HuPaiKind.CHK_QIANG_GANG = 9;        //抢杠
	gpNamespace.HuPaiKind.CHK_GANG_KAI = 10;         //杠上开花
	gpNamespace.HuPaiKind.CHK_HAI_DI = 11;           //海底捞月
	gpNamespace.HuPaiKind.CHK_HE_DI = 12;            //河底捞鱼
	gpNamespace.HuPaiKind.CHK_DUAN_YAO_JIU = 13;     //断幺九
	gpNamespace.HuPaiKind.CHK_TIAN_HU = 14;          //天胡
	gpNamespace.HuPaiKind.CHK_DI_HU = 15;            //地胡
	gpNamespace.HuPaiKind.CHK_REN_HU = 16;           //人胡
}

if (typeof gpNamespace.holdTime == "undefined") {
	gpNamespace.holdTime = {};
	gpNamespace.holdTime.v4 = 10;
	gpNamespace.holdTime.v5 = 10;
}

if (typeof gpNamespace.PlayerIndex == "undefined") {
	gpNamespace.PlayerIndex = {};
	gpNamespace.PlayerIndex.Xia = 0;
	gpNamespace.PlayerIndex.You = 1;
	gpNamespace.PlayerIndex.Shang = 2;
	gpNamespace.PlayerIndex.Zuo = 3;
}

//TODO 待优化游戏中变量----------------------------------------------------------------

//游戏配置
gpNamespace.GameConfig = {
		//音效，音乐，上次音效，上次音乐
		EFFECTSOUND: 0,
		MUSICSOUND: 0,
		LASTEFFECTSOUND: 0,
		LASTMUSICSOUND: 0,

		//出牌计时
		TIMELIMIT:10,

		//场景类型 商城返回到某场景
		SCENETYPE: 0,
		//是否弹出断线弹窗
		HASJUMP: false
};

//QQ登录返回信息
gpNamespace.QQInfo = {
		//qq号，qq昵称，qq头像url
		QQ: "",
		NICKNAME: "",
		HEADURL: ""
};

//登录返回信息
gpNamespace.LoginInfo = {
		ISLOG: false,
		//byteArray
		USERID: [],
		NICKNAME: "",
		HEADIMAGEID: 0,
		VIP: false,
		VIPDAYS: 0,

		GOLD: 0,
		DIAMOND: 0,
		VOUCHER: 0,

		SEX: "女",
		ISCHANGEVOICE: false,
		WINCOUNT: 0,
		LOSECOUNT: 0,
		DRAWCOUNT: 0,

		POCHANCOUNT: 0,
		ISBUYNEW: false,
		ISBUYONE: false,
		ISINEGG: false,
		ISKICKEGG: false,
		ISSIGN: false
};

gpNamespace.KickInfo = {
		RESULT: 0
};

gpNamespace.RestTimeInfo = {
		ITEMTYPE: 0,
		TIMESEC: 0
};

gpNamespace.JumpInfo = {
		CONTENT: ""
};

gpNamespace.BuyInfo = {
		CONTENT: ""
};

gpNamespace.HistoryLabaInfo = {
		ITEMCOUNT: 0,
		TALKS: []
//CHATTYPE:0,
//USERID:0,
//CONTENT:"",
//NICKNAME:""
};

gpNamespace.LabaInfo = {
		CHATTYPE: 0,
		USERID: [],
		CONTENT: "",
		NICKNAME: ""
};

gpNamespace.AccountInfo = {
		ACCOUNTTYPE: 0
};

//我的道具信息
gpNamespace.MyPropInfo = {
		ITEMCOUNT: 0,
		PROPS: []
////道具图标id，道具id，道具数量，道具状态，道具大厅可用状态，道具图标路径，道具名字
//ICONID: 0,
//ID: 0,
//QUANTITY: 0,
//STATE: 0,
//USESTATE: 0,
//ICONPATH: 0,
//NAME: ""
};

gpNamespace.UsePropBeforeInfo = {
		ISUSEPROP: false,
		GOODID: 0,
		GOODPRICE: 0,
		GOODPRICETYPE: 0,
		GOODRESTCOUNT: 0
};

gpNamespace.UsePropInfo = {
		DIAMOND: 0,
		CANSAIQUAN: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0,
		GOODID: 0
};

gpNamespace.QQLibao = {
		ITEMCOUNT: 0,
		LIBAOS: [],
		////连续签到天数
		//CONTINUESUM:0,
		////礼包奖励ID
		//LIBAOREWARDID:0,
		////礼包奖励类型
		//LIBAOREWARDTYPE:0,
		////签到数
		//SUM:0,
		LIBAOCOUNT: 0,
		LOSTLIBAOCOUNT: 0,
		COMBOLIBAOCOUNT: 0,
		CANLIBAO: 1,
		VIPBULIBAO: 0
};

gpNamespace.GetQQLibaoEveryInfo = {
		ISSIGN: 0,
		BUSIGNPROPCOUNT: 0,
		ITEMCOUNT: 0,
		REWARDS: []
//奖励id
//REWARDID:0,
//奖励类型
//REWARDTYPE:0
};

gpNamespace.GetQQLibaoInfo = {
		DIAMOND: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0,
		ITEMCOUNT: 0,
		REWARDS: []
//奖励id
//REWARDID:0,
//奖励类型
//REWARDTYPE:0
};

//公告信息
gpNamespace.GonggaoInfo = {
		ITEMTYPE: 0,
		ITEMINFO: "",
		ITEMCOUNT: 0,
		GONGGAOS: []
//公告图标id，公告id，公告内容，公告标题
//ICONID:0,
//ID:0,
//CONTENT:"",
//TITLE:""
};

//邮件信息
gpNamespace.MailList = {
		MAILTYPE: 0,
		ITEMCOUNT: 0,
		MAILS: []
////是否有附件 1 有附件 0 无附件
//HASATTACHMENT: 0,
////是否读过  0 未读 1 已读  2已领
//ISREAD: 0,
////邮件ID
//MAILID: 0,
////发件人类型  0:用户 1:管理员 2:系统
//SENDERTYPE: 0,
////创建日期
//CREATEDATE: "",
////标题
//TITLE: ""
};

//单个邮件信息
gpNamespace.MailInfo = {
		SENDERID: 0,
		ISREAD: 0,
		MAILID: 0,
		RECEIVERID: 0,
		SENDERTYPE: 0,
		CONTENT: "",
		CREATEDATE: "",
		SENDERNAME: "",
		ATTACHMENTCOUNT: 0,
		ATTACHMENTS: [],
		////附件 id
		//ATTACHMENTID: 0,
		////附件数量 int
		//ATTACHMENTQUANTITY: 0,
		//收件人昵称  string
		RECEIVERNAME: "",
		//标题  string
		TITLE: ""
};

//邮件编辑， 收取附件
gpNamespace.MailEditInfo = {
		EDITTYPE: 0,
		DIAMOND: 0,
		VOUCHER: 0,
		GOLD: 0,
		MATCHtICKET: 0,
		RESULT: 0
};

gpNamespace.GameFeedback = {
		ITEMTYPE: 0,
		RESULT: 0
};

//我的任务
gpNamespace.MissionInfo = {
		MISSIONTYPE: 0,
		ROOMTYPE: 0,
		MISSIONLEVEL: 0,
		ITEMCOUNT: 0,
		MISSIONS: []
////任务图标iD
//MISSIONICONID: null,
////任务id
//MISSIONID: null,
////领取任务需完成几次
//MISSIONTIMES: null,
////用户当前任务完成次数
//USERTIMES: null,
////奖励个数
//REWARDITEMCOUNT: null,
//------------------------mission reward 结构
////奖励道具id
//REWARDID: null,
////奖励道具数量
//REWARDCOUNT: null,
//------------------------mission reward 结构
////任务名字
//MISSIONNAME: null
};

//我的任务奖励
gpNamespace.MissionReward = {
		DIAMOND: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0,
		MISSIONICONID: 0,
		MISSIONID: 0,
		MISSIONTIMES: 0,
		USERTIMES: 0,
		REWARDITEMCOUNT: 0,
		REWARDS: [],
		////奖励道具id
		//REWARDID: null,
		////奖励道具数量
		//REWARDCOUNT: null,
		MISSIONNAME: ""
};

//排行榜
gpNamespace.RankInfo = {
		SHOWTYPE: 0,
		ITEMCOUNT: 0,
		RANKS: []
////图标ID
//ICONID:0,
////商品ID
//GOODID:0,
////排名依据的数量 依据积分排名
//RANKCOUNT:0,
////奖励数量
//GOODCOUNT:0,
////当前排名
//CURRENTRANK:0,
////用户ID
//USERID:0,
////昵称
//NICKNAME:""
};

gpNamespace.ShopInfo = {
		SHOWTYPE: 0,
		ITEMCOUNT: 0,
		GOODS: []
////商品ID
//GOODID: 0,
////商品图标ID
//GOODICONID: 0,
////价格数量
//PRICEQUANTITY: 0,
////商品数量
//GOODQUANTITY: 0,
////商品状态
//GOODSTATE: 0,
////商品类型
//GOODTYPE: 0,
////价格类型
//PRICETYPE: 0,
////商品图标地址
//GOODICONPATH: "",
////商品名称
//GOODNAME: ""
};

gpNamespace.Egg = {
		DIAMOND: 0,
		CANSAIQUAN: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0,
		ITEMCOUNT: 0,
		REWARDS: []
//REWARDID:0,
//REWARDTYPE:0
};

gpNamespace.SWInfo = {
		DIAMOND: 0,
		VOUCHER: 0,
		GOLD: 0,
		CODE: ""
};

gpNamespace.JBInfo = {
		DIAMOND: 0,
		CANSAIQUAN: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0
};

gpNamespace.DJInfo = {
		DIAMOND: 0,
		CANSAIQUAN: 0,
		VOUCHER: 0,
		GOLD: 0,
		RESULT: 0
};

gpNamespace.RuchangInfo = {
		ITEMCOUNT: 0,
		RUCHANGDATA: []
////底分
//BASESCORE: 0,
////入场金币
//LIMITSCORE: 0,
////场内人数
//PEOPLECOUNT: 0
};

gpNamespace.RuchangInfo.ITEMCOUNT = 4;
gpNamespace.RuchangInfo.RUCHANGDATA = [];
gpNamespace.RuchangInfo.RUCHANGDATA[0] = [];
gpNamespace.RuchangInfo.RUCHANGDATA[0][0] = 10;
gpNamespace.RuchangInfo.RUCHANGDATA[0][1] = 100;
gpNamespace.RuchangInfo.RUCHANGDATA[1] = [];
gpNamespace.RuchangInfo.RUCHANGDATA[1][0] = 100;
gpNamespace.RuchangInfo.RUCHANGDATA[1][1] = 10000;
gpNamespace.RuchangInfo.RUCHANGDATA[2] = [];
gpNamespace.RuchangInfo.RUCHANGDATA[2][0] = 200;
gpNamespace.RuchangInfo.RUCHANGDATA[2][1] = 20000;
gpNamespace.RuchangInfo.RUCHANGDATA[3] = [];
gpNamespace.RuchangInfo.RUCHANGDATA[3][0] = 500;
gpNamespace.RuchangInfo.RUCHANGDATA[3][1] = 50000;

gpNamespace.QszbInfo = {
		TICKET: 0,
		SCORE: 0,
		COUNT: 0,
		PRICETYPE: 0,
		QUANTITY: 0,
		RANK: 0,
		GOODICONID: 0,
		GOODID: 0,
		QSZBSTATE: 0
};

gpNamespace.InRoomInfo = {
		ROOMTYPE: 0,
		SUBROOM: 0,
		BIXIA: 0,
		DIFEN: 0,
		LIMITSCORE: 0,
		CHOUSHUI: 0,
		CURRENTCOUNT: 0
};

gpNamespace.GameUserInfo = {
		RESULT:0,
		LOSECOUNT:0,
		WINCOUNT:0,
		DRAWCOUNT:0,
		ITEMCOUNT:0,
		ITEMS:[]
//GOODID:0,
//GOODICONID:0,
//GOODCOUNT:0,
//GOODPRICE:0,
//GOODTYPE:0
};